/*
 * CourseCategory.java
 * Copyright(C) 2020-2099 WYY
 * All rights reserved.
 * -----------------------------------------------
 * 2020-04-14 Created
 */
package com.project.web.course.model.app;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

/**
 * 课程类别
 *
 * @version 1.0 2020-04-14
 */
@ApiModel("课程类别")
public class CourseCategory {

    /**
     *
     */
    @ApiModelProperty("主键ID")
    private String categoryid;

    /**
     * 课程ID
     */
    @ApiModelProperty("课程ID")
    private String courseid;

    /**
     * 分类名称
     */
    @ApiModelProperty("分类名称")
    private String categoryname;

    /**
     * 分类短名称
     */
    @ApiModelProperty("分类短名称")
    private String categorysmallname;

    /**
     * 老师名称
     */
    @ApiModelProperty("老师名称")
    private String teachername;

    /**
     * 老师头像
     */
    @ApiModelProperty("老师头像")
    private String teacherimg;

    /**
     * 对应的星期天 0-6（周日对应的是0）
     */
    @ApiModelProperty("对应的星期天 0-6（周日对应的是0）")
    private Integer weekday;

    /**
     * 1 必修 || 0 选修
     */
    @ApiModelProperty("1 必修 || 0 选修")
    private String muststudy;

    /**
     * 0 下架 1 上架
     */
    @ApiModelProperty("0 下架 1 上架")
    private String status;

    /**
     * 是否可以被搜索 0不可以 1可以
     */
    @ApiModelProperty("是否可以被搜索 0不可以 1可以")
    private String searchstatus;

    /**
     * 最小词汇量
     */
    @ApiModelProperty("最小词汇量")
    private Integer minvocabulary;

    /**
     * 最大词汇量
     */
    @ApiModelProperty("最大词汇量")
    private Integer maxvocabulary;

    /**
     * 课程类型 : 0普通课程 1人气课程 2热门课程 3推荐课程 4英语学院
     */
    @ApiModelProperty("课程类型 : 0普通课程 1人气课程 2热门课程 3推荐课程 4英语学院")
    private Integer coursetype;

    /**
     * 课程简介
     */
    @ApiModelProperty("课程简介")
    private String brief;

    /**
     * 课程图片
     */
    @ApiModelProperty("课程图片")
    private String courseimg;

    /**
     * 课程顺序
     */
    @ApiModelProperty("课程顺序")
    private Integer sort;

    /**
     *
     */
    @ApiModelProperty("")
    private Date createtime;

    /**
     * 0 学院课 1 专项课 2晋级课
     */
    @ApiModelProperty("0 学院课 1 专项课 2晋级课")
    private Integer isspecial;

    /**
     * 介绍图片
     */
    @ApiModelProperty("介绍图片")
    private String introduceimg;

    /**
     * 课程父类id
     */
    @ApiModelProperty("课程父类id")
    private String parentId;

    /**
     * banner图
     */
    @ApiModelProperty("banner图")
    private String banner;

    /**
     * 树形等级
     */
    @ApiModelProperty("树形等级")
    private Integer treeLevel;

    /*********************************** 扩展树形 ******************************/
    /**
     * 子节点
     */
    @ApiModelProperty("子节点")
    private List<CourseCategory> children;

    public String getCategoryid() {
        return categoryid;
    }

    public void setCategoryid(String categoryid) {
        this.categoryid = categoryid == null ? null : categoryid.trim();
    }

    public String getCourseid() {
        return courseid;
    }

    public void setCourseid(String courseid) {
        this.courseid = courseid == null ? null : courseid.trim();
    }

    public String getCategoryname() {
        return categoryname;
    }

    public void setCategoryname(String categoryname) {
        this.categoryname = categoryname == null ? null : categoryname.trim();
    }

    public String getCategorysmallname() {
        return categorysmallname;
    }

    public void setCategorysmallname(String categorysmallname) {
        this.categorysmallname = categorysmallname == null ? null : categorysmallname.trim();
    }

    public String getTeachername() {
        return teachername;
    }

    public void setTeachername(String teachername) {
        this.teachername = teachername == null ? null : teachername.trim();
    }

    public String getTeacherimg() {
        return teacherimg;
    }

    public void setTeacherimg(String teacherimg) {
        this.teacherimg = teacherimg == null ? null : teacherimg.trim();
    }

    public Integer getWeekday() {
        return weekday;
    }

    public void setWeekday(Integer weekday) {
        this.weekday = weekday;
    }

    public String getMuststudy() {
        return muststudy;
    }

    public void setMuststudy(String muststudy) {
        this.muststudy = muststudy == null ? null : muststudy.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getSearchstatus() {
        return searchstatus;
    }

    public void setSearchstatus(String searchstatus) {
        this.searchstatus = searchstatus == null ? null : searchstatus.trim();
    }

    public Integer getMinvocabulary() {
        return minvocabulary;
    }

    public void setMinvocabulary(Integer minvocabulary) {
        this.minvocabulary = minvocabulary;
    }

    public Integer getMaxvocabulary() {
        return maxvocabulary;
    }

    public void setMaxvocabulary(Integer maxvocabulary) {
        this.maxvocabulary = maxvocabulary;
    }

    public Integer getCoursetype() {
        return coursetype;
    }

    public void setCoursetype(Integer coursetype) {
        this.coursetype = coursetype;
    }

    public String getBrief() {
        return brief;
    }

    public void setBrief(String brief) {
        this.brief = brief == null ? null : brief.trim();
    }

    public String getCourseimg() {
        return courseimg;
    }

    public void setCourseimg(String courseimg) {
        this.courseimg = courseimg == null ? null : courseimg.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getIsspecial() {
        return isspecial;
    }

    public void setIsspecial(Integer isspecial) {
        this.isspecial = isspecial;
    }

    public String getIntroduceimg() {
        return introduceimg;
    }

    public void setIntroduceimg(String introduceimg) {
        this.introduceimg = introduceimg == null ? null : introduceimg.trim();
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId == null ? null : parentId.trim();
    }

    public String getBanner() {
        return banner;
    }

    public void setBanner(String banner) {
        this.banner = banner == null ? null : banner.trim();
    }

    public List<CourseCategory> getChildren() {
        return children;
    }

    public void setChildren(List<CourseCategory> children) {
        this.children = children;
    }

    public Integer getTreeLevel() {
        return treeLevel;
    }

    public void setTreeLevel(Integer treeLevel) {
        this.treeLevel = treeLevel;
    }
}